package com.wxp.demo09.system.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.wxp.demo09.util.LogUtils;
import com.wxp.demo09.util.ToastUtil;

/**
 * 时间接收器
 */
public class TimeReceiver extends BroadcastReceiver {


    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent != null) {
            LogUtils.debug("收到一个分钟到达广播");
            ToastUtil.show(context, "收到一个分钟到达广播");
        }
    }
}
